package net.ge.mosq.jdo.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 * @author noodles.wumu@gmail.com
 * @since 2012/07/02 14:53:42
 * @version 1.0
 */
@PersistenceCapable
public class TransactionInfo extends BaseEntity {

	private static final long serialVersionUID = -8340590634068084464L;

	@Persistent
	private Date transDate;

	@Persistent
	private Integer num;

	@Persistent
	private String description;

	@Persistent
	private BigDecimal transAmount;

	@Persistent
	private Boolean r;

	@Persistent
	private Long plusAccId;

	@Persistent
	private Long minusAccId;

	@NotPersistent
	private BigDecimal transAmountLabel1;

	@NotPersistent
	private BigDecimal transAmountLabel2;

	@NotPersistent
	private BigDecimal balance;

	@NotPersistent
	private Long transAccId;

	@NotPersistent
	private String transAccName;

	/**
	 * @return the transDate
	 */
	public Date getTransDate() {
		return transDate;
	}

	/**
	 * @param transDate
	 *            the transDate to set
	 */
	public void setTransDate(Date transDate) {
		this.transDate = transDate;
	}

	/**
	 * @return the num
	 */
	public Integer getNum() {
		return num;
	}

	/**
	 * @param num
	 *            the num to set
	 */
	public void setNum(Integer num) {
		this.num = num;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the transAmount
	 */
	public BigDecimal getTransAmount() {
		return transAmount;
	}

	/**
	 * @param transAmount
	 *            the transAmount to set
	 */
	public void setTransAmount(BigDecimal transAmount) {
		this.transAmount = transAmount;
	}

	/**
	 * @return the r
	 */
	public Boolean getR() {
		return r;
	}

	/**
	 * @param r
	 *            the r to set
	 */
	public void setR(Boolean r) {
		this.r = r;
	}

	/**
	 * @return the plusAccId
	 */
	public Long getPlusAccId() {
		return plusAccId;
	}

	/**
	 * @param plusAccId
	 *            the plusAccId to set
	 */
	public void setPlusAccId(Long plusAccId) {
		this.plusAccId = plusAccId;
	}

	/**
	 * @return the minusAccId
	 */
	public Long getMinusAccId() {
		return minusAccId;
	}

	/**
	 * @param minusAccId
	 *            the minusAccId to set
	 */
	public void setMinusAccId(Long minusAccId) {
		this.minusAccId = minusAccId;
	}

	/**
	 * @return the transAmountLabel1
	 */
	public BigDecimal getTransAmountLabel1() {
		return transAmountLabel1;
	}

	/**
	 * @param transAmountLabel1
	 *            the transAmountLabel1 to set
	 */
	public void setTransAmountLabel1(BigDecimal transAmountLabel1) {
		this.transAmountLabel1 = transAmountLabel1;
	}

	/**
	 * @return the transAmountLabel2
	 */
	public BigDecimal getTransAmountLabel2() {
		return transAmountLabel2;
	}

	/**
	 * @param transAmountLabel2
	 *            the transAmountLabel2 to set
	 */
	public void setTransAmountLabel2(BigDecimal transAmountLabel2) {
		this.transAmountLabel2 = transAmountLabel2;
	}

	/**
	 * @return the balance
	 */
	public BigDecimal getBalance() {
		return balance;
	}

	/**
	 * @param balance
	 *            the balance to set
	 */
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	/**
	 * @return the transAccId
	 */
	public Long getTransAccId() {
		return transAccId;
	}

	/**
	 * @param transAccId
	 *            the transAccId to set
	 */
	public void setTransAccId(Long transAccId) {
		this.transAccId = transAccId;
	}

	/**
	 * @return the transAccName
	 */
	public String getTransAccName() {
		return transAccName;
	}

	/**
	 * @param transAccName
	 *            the transAccName to set
	 */
	public void setTransAccName(String transAccName) {
		this.transAccName = transAccName;
	}

}
